import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'test-lifecycle-father-child',
  templateUrl: './lifecycle-father-child.component.html',
  styleUrls: ['./lifecycle-father-child.component.scss']
})
export class LifecycleFatherChildComponent implements OnInit {

  public username:string="父层默认用户名字";
  public userObj:any = {username:"默认用户名字"};
  constructor() { }

  ngOnInit() {
  }

}
